package com.cinema.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("resource")
public class Resource {
    @TableId(value = "resource_id", type = IdType.AUTO)
    private Long resourceId;
    private String resourceName;
    private String path;
    private Integer level;
    private Long parentId;
}